package com.doubi.model.sys;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * 省份
 *
 * @author MrDoubi
 * @since 2019-11-10
 */
@Data
@TableName("t_province")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class TProvince extends Model<TProvince> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "province_oid", type = IdType.UUID)

    private String provinceOid;


    @Override
    protected Serializable pkVal() {
        return this.provinceOid;
    }

    @TableField("province_name")

    private String provinceName;


    @TableField("province_code")

    private String provinceCode;


    /**
     * 排序
     */
    @TableField("sort_num")

    private Integer sortNum;


    /**
     * 状态
     */
    @TableField("status")

    private Integer status;


    /**
     * 中心点
     */
    @TableField("center")

    private String center;


}